import pygame.mixer


class Music:
    def __init__(self,file_name):
        self.file_name = file_name
        pygame.mixer.init()
        pygame.mixer.music.load(self.file_name)
        pass

    def play(self):
        pygame.mixer.music.play(loops=0)
        pass
